import base from '@/api/baseurl';
import request from '@/utils/request'



export function findtemplatecontent(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Template/findtemplatecontent',
    method: 'get',
    params: query
  })
}




export function addtemplatecontent(data) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Template/addtemplatecontent',
    method: 'post',
    data
  })
}





//主子类型下拉框
export function findps_type(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Template/findps_type',
    method: 'get',
    params: query
  })
}
//查询表名 下拉框
export function findtablename(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Template/findtablename',
    method: 'get',
    params: query
  })
}

//查询字段名
export function findcolumn_name(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Template/findcolumn_name',
    method: 'get',
    params: query
  })
}



